package com.heima.wemedia.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dto.WmMaterialDto;
import com.heima.model.wemedia.entity.WmMaterial;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.web.multipart.MultipartFile;

/**
 * 自媒体素材表(WmMaterial)表服务接口
 *
 * @author makejava
 * @since 2022-04-10 16:44:10
 */
public interface WmMaterialService {

    ResponseResult uploadPicture(MultipartFile file);

    ResponseResult list(WmMaterialDto dto);

    ResponseResult deleteBy(Long id);

    ResponseResult collect(Long id);

    ResponseResult cancelCollect(Long id);
}
